#!/bin/bash
set -e
set -x
MYDIR="${0%/*}"
cd "$MYDIR/.."
source "recipes/common.sh"


# RECIPE START subst
# ALT Linux' sed wrapper. Used by many specs

rm -rf build/subst
cp -a subst build/
make -j${JOBS} -C build/subst \
	CC=${TARGET}-gcc \
	DESTDIR="$stage" \
	subst install

rm -rf build/subst

# RECIPE END subst
